const mongoose = require("mongoose")
const Schema = mongoose.Schema
const RoleType = {
    roleName: String,
    roleType: Number,
    rights: Array
}
const RolesModel = mongoose.model("role",new Schema(RoleType))
module.exports = RolesModel